﻿using System.Web.Mvc;
using EFI.Web.Framework.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace OWE.Web.Models
{
    public class AccountModel : BaseOweModel
    {
        [Required]
        public string Code { get; set; }

        [Required]
        public string Name { get; set; }

        public string Note { get; set; }

        [Required]
        public int AccountType { get; set; }

        public IList<SelectListItem> AccountTypes { get; set; }

        [Required]
        public int AccountLevel { get; set; }

        [Required]
        public int CompanyId { get; set; }

        [Required]
        public int CurrencyId { get; set; }
        public int ParentId { get; set; }
    }
}